package com.frank.oj.service.entity.contest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.frank.model.entity.contest.Contest;
import com.frank.oj.common.result.CommonResult;
import com.frank.oj.model.vo.ContestVO;

import java.util.List;

/**
 * @author frank
 * @Date 2023/12/21
 */
public interface ContestEntityService extends IService<Contest> {
    List<ContestVO> getWithinNext14DaysContest();

    CommonResult<IPage<ContestVO>> getContestList(Integer limit, Integer currentPage, Integer status, Integer type, String keyword);

    ContestVO getContestInfoById(Long cid);
}
